package manage_model

// 后台管理员角色表
type ManageUserRole struct {
	ID          uint   `json:"id" gorm:"not null;autoIncrement;primaryKey;comment:角色id"`
	Name        string `json:"name" gorm:"not null;comment:角色名称"`
	Description string `json:"description" gorm:"not null;comment:角色描述"`
	Permission  string `json:"permission" gorm:"comment:权限"`
}

func (ManageUserRole) TableName() string {
	return "gv_manage_user_role"
}
